/**
 * @Author: 健聪
 * @Description: while 循环
 * @Date: 2024/1/11
 */
void main() {
  int count = 0;

  while (count < 5) {
    print(count++);
  }
  print("-----$count------");
  do {
    print(count--);
  } while (count > 0 && count < 5);
}